#pragma once

#include <MyControls/Xline.h>
#include <MyControls/SegmentList.h>
#include <MyControls/SegmentSetRow.h>
#include <MyControls/LayerRow.h>

#include "CXComp.h"

class CXTimeline : public My::Xline {
public:
	CXTimeline(CXComp &);
	~CXTimeline();
public:
	CXComp * GetSequence() const
		{ return static_cast<CXComp *>(My::Timeline::GetSequence()); }
	void SetSequence(CXComp *);
	virtual void OnOpen();
	virtual void OnClose();
private:
	using My::Timeline::SetSequence;
private:
	My::SegmentSetRow	m_Mask;
	My::LayerRow		m_Foreground;
	My::LayerRow		m_Background;
};